﻿Imports DAO
Imports DTO
Public Class TaiKhoanBUS
    Dim _taiKhoanDAO As New TaiKhoanDAO()
    Public Function KiemTraTKBUS(ByVal _tkDTO As TaiKhoanDTO) As Boolean
        Return _taiKhoanDAO.KiemTraTKDAO(_tkDTO)
    End Function

    Public Function KiemTraTKVaMKDAO(ByVal _tkDTO As TaiKhoanDTO) As Boolean
        Return _taiKhoanDAO.KiemTraTKVaMKDAO(_tkDTO)
    End Function
    Public Function GetLoaiTKBUS(ByVal _tkDTO As TaiKhoanDTO) As Integer
        Return _taiKhoanDAO.GetLoaiTKDAO(_tkDTO)
    End Function

    Public Sub DoiMKBUS(ByVal _tkDTO As TaiKhoanDTO)
        _taiKhoanDAO.DoiMKDAO(_tkDTO)
    End Sub
End Class
